﻿using System;
using System.Linq;
using System.Collections.Generic;

namespace Sponsorship.ReadModel.Sponsors
{
    public class DetailsOfSponsorDto : Dto
    {
        public DetailsOfSponsorDto()
        {
            Sponsorships = new List<SponsorshipListItemDto>();
            BankInformation = new BankInformationDto();
            Address = new AddressDto();
        }

        public Guid SponsorId { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public BankInformationDto BankInformation { get; set; }
        public AddressDto Address { get; set; }
        public string EMail { get; set; }
        public string TelephoneNumber { get; set; }
        public string Comment { get; set; }

        public List<SponsorshipListItemDto> Sponsorships { get; private set; }
    }
}
